// 导出路由规则
import Layout from "@/layout";
export default {
  path: "/mobileEnd", // 路径
  name: "mobileEnd",
  component: Layout,
  redirect: "/mobileEnd",
  meta: {
    title: "移动端",
  },
  hidden: true,
  children: [
    {
      path: "mobileEndTouch",
      name: "mobileEndTouch",
      component: () => import("@/views/mobileEnd/mobileEndTouch"),
      meta: {
        title: "手机触屏端",
      },
      children: [
        {
          path: "homePage",
          name: "homePage",
          component: () => import("@/views/mobileEnd/mobileEndTouch/homePage"),
          meta: {
            title: "个性化首页",
          },
        },
        {
          path: "pageManage",
          name: "pageManage",
          component: () =>
            import("@/views/mobileEnd/mobileEndTouch/pageManage"),
          meta: {
            title: "页面管理",
          },
        },
        {
          path: "editPage",
          name: "editPage",
          hidden: true,
          component: () =>
            import("@/views/mobileEnd/mobileEndTouch/pageManage/editPage"),
          meta: {
            title: "编辑页面",
          },
        },
      ],
    },
    {
      path: "mobileEndApp",
      name: "mobileEndApp",
      component: () => import("@/views/mobileEnd/mobileEndApp"),
      meta: {
        title: "App",
      },
      children: [
        {
          path: "foundationConfig",
          name: "foundationConfig",
          component: () =>
            import("@/views/mobileEnd/mobileEndApp/foundationConfig"),
          meta: {
            title: "基础配置",
          },
        },
      ],
    },
    {
      path: "mobileEndConfig",
      name: "mobileEndConfig",
      component: () => import("@/views/mobileEnd/mobileEndConfig"),
      meta: {
        title: "第三方配置",
      },
      children: [
        {
          path: "foundation",
          name: "foundation",
          component: () =>
            import("@/views/mobileEnd/mobileEndConfig/foundation"),
          meta: {
            title: "基础配置",
          },
        },
      ],
    },
  ],
};
